package cn.edu.zisu.common.util.annotaion;

import cn.edu.zisu.common.util.annotaion.interceptor.JsonDeserializerInterceptor;
import com.fasterxml.jackson.annotation.JacksonAnnotationsInside;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * @author ji.yuhong
 */
@Retention(RetentionPolicy.RUNTIME)
@JacksonAnnotationsInside
@JsonDeserialize(using = JsonDeserializerInterceptor.class)
public @interface DeserializerAnnotation {

    /**
     * List<> 泛型中的class
     *
     * @return Class
     */
    Class listValue() default Object.class;

}